﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<SDT.Model.ArticleCategory>>" %>
<%@ Import Namespace="SDT.Lib.Helpers" %>
<%if(Model!=null){ %>
<div class="bor_cor mar_t">
    <div class="bar_red" style="text-align:center">
        <%=ViewData["Title"] %>
    </div>         
    <div class="search_right box-blue">
        <ul>
        <%foreach (var item in Model)
          {
               %>
          <li>
            <a href="/news/index/<%=item.ID %>" title="<%=Html.Encode(item.Name) %>"><%=Html.Encode(item.Name) %></a>
          </li>
        <%} %>
        </ul>
    </div>
</div>
<%} %>

